#include "bilbao/lang/Exception.h"

namespace bilbao
{
	namespace lang
	{
		//----------------------------------------------------------------------
		Exception::Exception(void)
			: _message("")
		{
		}
		//----------------------------------------------------------------------
		Exception::Exception( const std::string& message )
			: _message( message )
		{
		}
		//----------------------------------------------------------------------
		Exception::Exception( const char* message )
			: _message( message )
		{
		}
		//----------------------------------------------------------------------
		Exception::~Exception(void) throw() 
		{
		}
		//----------------------------------------------------------------------
		const char* Exception::getMessage(void) const
		{
			return _message.c_str();
		}
		//----------------------------------------------------------------------
	}
}
